/*
 * @Author: wangming
 * @Date: 2022-04-27 09:57:21
 * @LastEditors: wangming
 * @LastEditTime: 2022-04-27 16:26:56
 * @FilePath: /hanma-application-designer-fed/src/pageConfig/elTable/editComponents.js
 * @Description: 
 */
export default [
    {
        label: "文本框",
        value: "elInput",
        attrs: { placeholder: "请输入" },
        types: ["SHORT_TEXT"],
    },
    {
        label: "长文本",
        value: "hmTextarea",
        attrs: { placeholder: "请输入" },
        types: ["LONG_TEXT"],
    },
    {
        label: "下拉框",
        value: "hmRelation",
        attrs: { placeholder: "请选择" },
        types: ["RELATION_REFERENCE", "RELATION_SELECT"],
    },
    {
        label: "数字框",
        value: "hmNumber",
        attrs: { placeholder: "请输入" },
        types: ["NUMBER", 'INTEGER'],
    },
    {
        label: "日期",
        value: "hmFormDate",
        attrs: { placeholder: "请选择" },
        types: ["DATE"],
    },
    {
        label: "时间",
        value: "hmTime",
        attrs: { placeholder: "请选择" },
        types: ["TIME"],
    },
    {
        label: "部门",
        value: "hmDept",
        attrs: { placeholder: "请选择" },
        types: ["DEPARTMENT"],
    },
    {
        label: "人员",
        value: "hmPersonnel",
        attrs: { placeholder: "请选择" },
        types: ["STAFF"],
    },
    {
        label: "布尔值",
        value: "hmBool",
        attrs: { placeholder: "请选择" },
        types: ["BOOL"],
    },
]